//
//  ShareError.h
//  YouHui
//
//  Created by  on 11-12-23.
//  Copyright (c) 2011年 netease. All rights reserved.
//

#import <Foundation/Foundation.h>

static NSString * const kShareErrorDomain = @"ShareErrorDomain";

enum ShareErrorCode {
    kShareErrorCancel = 0,
    kShareErrorDenied = 1,
    kShareErrorLogic  = 3,
    kShareErrorUnknow = 255
};

@interface ShareError: NSError {
    NSString *_errorDesc;
}
+(id)errorWithCode:(NSUInteger)code erorDesc:(NSString*)desc;
-(id)initWithCode:(NSUInteger)code erorDesc:(NSString*)desc;
@end